<?php
/*define('DB_SERVER', '127.0.0.1');
define('DB_USERNAME', 'root');
define('DB_PASSWORD', 'aneeta786');
define('DB_DATABASE', 'Medical');
define('UserLogin', 'userlogin'); 
define('UserLocation', 'userlocation'); 
define('UserDetail', 'userdetail'); 
define('OrderDetail', 'orderdetail'); 
define('OrderAddress', 'orderaddress'); 
define('OrderStatus', 'orderstatus'); 
$connection = mysql_connect(DB_SERVER, DB_USERNAME, DB_PASSWORD) or die(mysql_error());
$database = mysql_select_db(DB_DATABASE) or die(mysql_error());
if (mysqli_connect_errno())
  {
  echo "Failed to connect to MySQL: " . mysqli_connect_error();
  }*/
  
define('DB_SERVER', 'localhost');
define('DB_USERNAME', 'myonline_root');
define('DB_PASSWORD', 'medical');
define('DB_DATABASE', 'myonline_medical');
define('UserLogin', 'userlogin'); 
define('UserLocation', 'userlocation'); 
define('UserDetail', 'userdetail'); 
define('OrderDetail', 'orderdetail'); 
define('OrderAddress', 'orderaddress'); 
define('OrderStatus', 'orderstatus'); 
$connection = mysql_connect(DB_SERVER, DB_USERNAME, DB_PASSWORD) or die(mysql_error());
$database = mysql_select_db(DB_DATABASE) or die(mysql_error());
if (mysqli_connect_errno())
  {
  echo "Failed to connect to MySQL: " . mysqli_connect_error();
  }
?>